package com.caseProcess.mapper;

import com.caseProcess.entity.Urging;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author kittlen
 * @version 1.0
 * @date 2020/11/15 9:58
 */
@Repository
public interface UrgingDao {

    //添加催办信息
    int insert(Urging urging);

    //修改催办信息
    int update(Urging urging);

    //删除催办信息
    int delete(Urging urging);

    //删除催办信息
    int deleteByProcessId(@Param("processId") String processId);

    //查询催办信息
    List<Urging> selectUrgings(Urging urging);

    //获取选中警情的催办信息
    List<Urging> getUrgingInfo(String urgingId);
}
